package com.ruoyi.web.ydz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 药品对象 drug
 * 
 * @author drx
 * @date 2024-10-16
 */
public class Drug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 通用名称 */
    @Excel(name = "通用名称")
    private String name;

    /** 别名 */
    @Excel(name = "别名")
    private String alias;

    /** 主图 */
    @Excel(name = "主图")
    private String icon;

    /** 是否启用  0 不启用  1、启用 */
    private String state;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String manuId;

    /** 厂家名称 */
    @Excel(name = "厂家名称")
    private String manuName;

    /** 有效期 */
    @Excel(name = "有效期")
    private String periodOfValidity;

    /** 准批文号 */
    @Excel(name = "准批文号")
    private String quasiApprovalNo;

    /** 剂型id */
    @Excel(name = "剂型id")
    private String dosage;

    /** 各版本药物价格 */
    @Excel(name = "各版本药物价格")
    private String editionPrice;

    /** 是否处方药  0 否  1、是 */
    @Excel(name = "是否处方药  0 否  1、是")
    private Integer isPrescription;

    /** 是否推荐 (0否；1是) */
    @Excel(name = "是否推荐 (0否；1是)")
    private String recommend;

    /** 储存条件 */
    @Excel(name = "储存条件")
    private String storagecondition;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String announcements;

    /** 适应症 */
    @Excel(name = "适应症")
    private String adaptationdisease;

    /** 商品相册 */
    @Excel(name = "商品相册")
    private String photoalbum;

    /** 商品详情 */
    @Excel(name = "商品详情")
    private String detail;

    /** 商品视频 */
    @Excel(name = "商品视频")
    private String videos;

    /** 成分 */
    @Excel(name = "成分")
    private String ingredient;

    /** 性状 */
    @Excel(name = "性状")
    private String xingzhuang;

    /** 用法用量 */
    @Excel(name = "用法用量")
    private String usageanddosage;

    /** 不良反应 */
    @Excel(name = "不良反应")
    private String untoward;

    /** 禁忌 */
    @Excel(name = "禁忌")
    private String taboos;

    /** 权重 */
    @Excel(name = "权重")
    private Long salesvolume;

    /** 适用人群 */
    @Excel(name = "适用人群")
    private String suitableforthecroud;

    /** 药物相互作用 */
    @Excel(name = "药物相互作用")
    private String mutual;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long hits;

    /** 中国是否上市  0 否  1、是 */
    @Excel(name = "中国是否上市  0 否  1、是")
    private Integer chinaListedState;

    /** 是否进入医保  0 否  1、是 */
    @Excel(name = "是否进入医保  0 否  1、是")
    private Integer enterMedicalState;

    /** 是否有仿制药  0 否  1、是 */
    @Excel(name = "是否有仿制药  0 否  1、是")
    private Integer genericState;

    /** 国内是否能买到 0 否  1、是 */
    @Excel(name = "国内是否能买到 0 否  1、是")
    private Integer canChinaState;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String englishName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commonName;

    /** 适应靶点 */
    @Excel(name = "适应靶点")
    private String adaptiveTarget;

    /** 包装 */
    @Excel(name = "包装")
    private String packaging;

    /** 药物过量 */
    @Excel(name = "药物过量")
    private String overdose;

    /** 药代动力学 */
    @Excel(name = "药代动力学")
    private String pharmacokinetics;

    /** 药物相互作用1 */
    @Excel(name = "药物相互作用1")
    private String mutual1;

    /** 用法用量1 */
    @Excel(name = "用法用量1")
    private String usageanddosage1;

    /** 不良反应1 */
    @Excel(name = "不良反应1")
    private String untoward1;

    /** 注意事项1 */
    @Excel(name = "注意事项1")
    private String announcements1;

    /** 特殊人群用药1 */
    @Excel(name = "特殊人群用药1")
    private String suitableforthecroud1;

    /** 禁忌症1 */
    @Excel(name = "禁忌症1")
    private String taboos1;

    /** 适应症1 */
    @Excel(name = "适应症1")
    private String adaptationdisease1;

    /** 主要成分 */
    @Excel(name = "主要成分")
    private String ingredient1;

    /** 适应人群 */
    @Excel(name = "适应人群")
    private String intendedPopulation;

    /** 治疗效果 */
    @Excel(name = "治疗效果")
    private String therapeuticEffect;

    /** 标题 */
    @Excel(name = "标题")
    private String webtitle;

    /** 内容 */
    @Excel(name = "内容")
    private String description;

    /** 关键字 */
    private String keywords;

    /** tdk说明 */
    private String tdkTitle;

    /** tdk富文本 */
    private String tdkDescribe;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 更新人名称 */
    private String updateName;

    /** 是否删除（0否；1是） */
    private String delFlag;

    /** 药品疾病 */
    List<DrugDisease> drugDiseaseList;

    /** 疾病删除数组 */
    private Long[] delDrugDiseaseIds;

    public Long[] getDelDrugDiseaseIds() {
        return delDrugDiseaseIds;
    }

    public void setDelDrugDiseaseIds(Long[] delDrugDiseaseIds) {
        this.delDrugDiseaseIds = delDrugDiseaseIds;
    }

    public List<DrugDisease> getDrugDiseaseList() {
        return drugDiseaseList;
    }

    public void setDrugDiseaseList(List<DrugDisease> drugDiseaseList) {
        this.drugDiseaseList = drugDiseaseList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAlias(String alias) 
    {
        this.alias = alias;
    }

    public String getAlias() 
    {
        return alias;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setManuId(String manuId) 
    {
        this.manuId = manuId;
    }

    public String getManuId() 
    {
        return manuId;
    }
    public void setManuName(String manuName) 
    {
        this.manuName = manuName;
    }

    public String getManuName() 
    {
        return manuName;
    }
    public void setPeriodOfValidity(String periodOfValidity) 
    {
        this.periodOfValidity = periodOfValidity;
    }

    public String getPeriodOfValidity() 
    {
        return periodOfValidity;
    }
    public void setQuasiApprovalNo(String quasiApprovalNo) 
    {
        this.quasiApprovalNo = quasiApprovalNo;
    }

    public String getQuasiApprovalNo() 
    {
        return quasiApprovalNo;
    }
    public void setDosage(String dosage) 
    {
        this.dosage = dosage;
    }

    public String getDosage() 
    {
        return dosage;
    }
    public void setEditionPrice(String editionPrice) 
    {
        this.editionPrice = editionPrice;
    }

    public String getEditionPrice() 
    {
        return editionPrice;
    }
    public void setIsPrescription(Integer isPrescription) 
    {
        this.isPrescription = isPrescription;
    }

    public Integer getIsPrescription() 
    {
        return isPrescription;
    }
    public void setRecommend(String recommend) 
    {
        this.recommend = recommend;
    }

    public String getRecommend() 
    {
        return recommend;
    }
    public void setStoragecondition(String storagecondition) 
    {
        this.storagecondition = storagecondition;
    }

    public String getStoragecondition() 
    {
        return storagecondition;
    }
    public void setAnnouncements(String announcements) 
    {
        this.announcements = announcements;
    }

    public String getAnnouncements() 
    {
        return announcements;
    }
    public void setAdaptationdisease(String adaptationdisease) 
    {
        this.adaptationdisease = adaptationdisease;
    }

    public String getAdaptationdisease() 
    {
        return adaptationdisease;
    }
    public void setPhotoalbum(String photoalbum) 
    {
        this.photoalbum = photoalbum;
    }

    public String getPhotoalbum() 
    {
        return photoalbum;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setVideos(String videos) 
    {
        this.videos = videos;
    }

    public String getVideos() 
    {
        return videos;
    }
    public void setIngredient(String ingredient) 
    {
        this.ingredient = ingredient;
    }

    public String getIngredient() 
    {
        return ingredient;
    }
    public void setXingzhuang(String xingzhuang) 
    {
        this.xingzhuang = xingzhuang;
    }

    public String getXingzhuang() 
    {
        return xingzhuang;
    }
    public void setUsageanddosage(String usageanddosage) 
    {
        this.usageanddosage = usageanddosage;
    }

    public String getUsageanddosage() 
    {
        return usageanddosage;
    }
    public void setUntoward(String untoward) 
    {
        this.untoward = untoward;
    }

    public String getUntoward() 
    {
        return untoward;
    }
    public void setTaboos(String taboos) 
    {
        this.taboos = taboos;
    }

    public String getTaboos() 
    {
        return taboos;
    }
    public void setSalesvolume(Long salesvolume) 
    {
        this.salesvolume = salesvolume;
    }

    public Long getSalesvolume() 
    {
        return salesvolume;
    }
    public void setSuitableforthecroud(String suitableforthecroud) 
    {
        this.suitableforthecroud = suitableforthecroud;
    }

    public String getSuitableforthecroud() 
    {
        return suitableforthecroud;
    }
    public void setMutual(String mutual) 
    {
        this.mutual = mutual;
    }

    public String getMutual() 
    {
        return mutual;
    }
    public void setHits(Long hits) 
    {
        this.hits = hits;
    }

    public Long getHits() 
    {
        return hits;
    }
    public void setChinaListedState(Integer chinaListedState) 
    {
        this.chinaListedState = chinaListedState;
    }

    public Integer getChinaListedState() 
    {
        return chinaListedState;
    }
    public void setEnterMedicalState(Integer enterMedicalState) 
    {
        this.enterMedicalState = enterMedicalState;
    }

    public Integer getEnterMedicalState() 
    {
        return enterMedicalState;
    }
    public void setGenericState(Integer genericState) 
    {
        this.genericState = genericState;
    }

    public Integer getGenericState() 
    {
        return genericState;
    }
    public void setCanChinaState(Integer canChinaState) 
    {
        this.canChinaState = canChinaState;
    }

    public Integer getCanChinaState() 
    {
        return canChinaState;
    }
    public void setEnglishName(String englishName) 
    {
        this.englishName = englishName;
    }

    public String getEnglishName() 
    {
        return englishName;
    }
    public void setCommonName(String commonName) 
    {
        this.commonName = commonName;
    }

    public String getCommonName() 
    {
        return commonName;
    }
    public void setAdaptiveTarget(String adaptiveTarget) 
    {
        this.adaptiveTarget = adaptiveTarget;
    }

    public String getAdaptiveTarget() 
    {
        return adaptiveTarget;
    }
    public void setPackaging(String packaging) 
    {
        this.packaging = packaging;
    }

    public String getPackaging() 
    {
        return packaging;
    }
    public void setOverdose(String overdose) 
    {
        this.overdose = overdose;
    }

    public String getOverdose() 
    {
        return overdose;
    }
    public void setPharmacokinetics(String pharmacokinetics) 
    {
        this.pharmacokinetics = pharmacokinetics;
    }

    public String getPharmacokinetics() 
    {
        return pharmacokinetics;
    }
    public void setMutual1(String mutual1) 
    {
        this.mutual1 = mutual1;
    }

    public String getMutual1() 
    {
        return mutual1;
    }
    public void setUsageanddosage1(String usageanddosage1) 
    {
        this.usageanddosage1 = usageanddosage1;
    }

    public String getUsageanddosage1() 
    {
        return usageanddosage1;
    }
    public void setUntoward1(String untoward1) 
    {
        this.untoward1 = untoward1;
    }

    public String getUntoward1() 
    {
        return untoward1;
    }
    public void setAnnouncements1(String announcements1) 
    {
        this.announcements1 = announcements1;
    }

    public String getAnnouncements1() 
    {
        return announcements1;
    }
    public void setSuitableforthecroud1(String suitableforthecroud1) 
    {
        this.suitableforthecroud1 = suitableforthecroud1;
    }

    public String getSuitableforthecroud1() 
    {
        return suitableforthecroud1;
    }
    public void setTaboos1(String taboos1) 
    {
        this.taboos1 = taboos1;
    }

    public String getTaboos1() 
    {
        return taboos1;
    }
    public void setAdaptationdisease1(String adaptationdisease1) 
    {
        this.adaptationdisease1 = adaptationdisease1;
    }

    public String getAdaptationdisease1() 
    {
        return adaptationdisease1;
    }
    public void setIngredient1(String ingredient1) 
    {
        this.ingredient1 = ingredient1;
    }

    public String getIngredient1() 
    {
        return ingredient1;
    }
    public void setIntendedPopulation(String intendedPopulation) 
    {
        this.intendedPopulation = intendedPopulation;
    }

    public String getIntendedPopulation() 
    {
        return intendedPopulation;
    }
    public void setTherapeuticEffect(String therapeuticEffect) 
    {
        this.therapeuticEffect = therapeuticEffect;
    }

    public String getTherapeuticEffect() 
    {
        return therapeuticEffect;
    }
    public void setWebtitle(String webtitle) 
    {
        this.webtitle = webtitle;
    }

    public String getWebtitle() 
    {
        return webtitle;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setTdkTitle(String tdkTitle) 
    {
        this.tdkTitle = tdkTitle;
    }

    public String getTdkTitle() 
    {
        return tdkTitle;
    }
    public void setTdkDescribe(String tdkDescribe) 
    {
        this.tdkDescribe = tdkDescribe;
    }

    public String getTdkDescribe() 
    {
        return tdkDescribe;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("alias", getAlias())
            .append("icon", getIcon())
            .append("remark", getRemark())
            .append("state", getState())
            .append("manuId", getManuId())
            .append("manuName", getManuName())
            .append("periodOfValidity", getPeriodOfValidity())
            .append("quasiApprovalNo", getQuasiApprovalNo())
            .append("dosage", getDosage())
            .append("editionPrice", getEditionPrice())
            .append("isPrescription", getIsPrescription())
            .append("recommend", getRecommend())
            .append("storagecondition", getStoragecondition())
            .append("announcements", getAnnouncements())
            .append("adaptationdisease", getAdaptationdisease())
            .append("photoalbum", getPhotoalbum())
            .append("detail", getDetail())
            .append("videos", getVideos())
            .append("ingredient", getIngredient())
            .append("xingzhuang", getXingzhuang())
            .append("usageanddosage", getUsageanddosage())
            .append("untoward", getUntoward())
            .append("taboos", getTaboos())
            .append("salesvolume", getSalesvolume())
            .append("suitableforthecroud", getSuitableforthecroud())
            .append("mutual", getMutual())
            .append("hits", getHits())
            .append("chinaListedState", getChinaListedState())
            .append("enterMedicalState", getEnterMedicalState())
            .append("genericState", getGenericState())
            .append("canChinaState", getCanChinaState())
            .append("englishName", getEnglishName())
            .append("commonName", getCommonName())
            .append("adaptiveTarget", getAdaptiveTarget())
            .append("packaging", getPackaging())
            .append("overdose", getOverdose())
            .append("pharmacokinetics", getPharmacokinetics())
            .append("mutual1", getMutual1())
            .append("usageanddosage1", getUsageanddosage1())
            .append("untoward1", getUntoward1())
            .append("announcements1", getAnnouncements1())
            .append("suitableforthecroud1", getSuitableforthecroud1())
            .append("taboos1", getTaboos1())
            .append("adaptationdisease1", getAdaptationdisease1())
            .append("ingredient1", getIngredient1())
            .append("intendedPopulation", getIntendedPopulation())
            .append("therapeuticEffect", getTherapeuticEffect())
            .append("webtitle", getWebtitle())
            .append("description", getDescription())
            .append("keywords", getKeywords())
            .append("tdkTitle", getTdkTitle())
            .append("tdkDescribe", getTdkDescribe())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
